package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter
@Getter
@JsonIgnoreProperties(value = {"handler"})
public class StrategyReply extends BaseDomain{
    private String content;
    private StrategyComment comment;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date releaseTime;
    private User user;

    /*是否已读*/
    private int reader;
    private CommentOrTravel  commentOrTravel;
    /*类型 false 是游记 true 是评论*/
    private boolean rType;
}